<?php
  //generates a PDF of the performance report
require_once("includes/dompdf/dompdf_config.inc.php");

$dompdf = new DOMPDF();
$dompdf->load_html($report);
$dompdf->render();
$dompdf->stream("Kontrollbase_PerfReport_$hostname_$date.pdf");
?>